
var xiaoming = {
    name: "worker",
    age: 23,
    salary: 7000,
};
console.log(xiaoming);

var xiaohong = {
    name: '小红',
    'middle-school': 'No.1 Middle School'
};
console.log(xiaohong);
var xiaoming = {
    name: '小明'
};
console.log(xiaoming.name);
console.log(xiaoming.age);